
function OS_BattlerState(){
   
   var name=null;  //状态名称

   var num=1;     //作用回合次数
   
   this.test=function(term)
   {
	   if(term==name)
	       return true;
	   else
	       return false;
   }
   
   this.setName=function(varName)
   {
	   name=varName;
   }
   this.setNum=function(varNum)
   {
	   num=Number(varNum);
   }
   this.getName=function()
   {
	   return name;
   }
   this.getNum=function()
   {
	  return num;
   }
   
   
   
   
}